package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
@Data
@TableName(value = "permission")
public class Permission {
    /**
     * 权限ID
     */
    @TableId(value = "permission_id", type = IdType.INPUT)
    private Integer permissionId;

    /**
     * 权限名称
     */
    @TableField(value = "permission_name")
    private String permissionName;

    /**
     * 权限说明
     */
    @TableField(value = "permission_declare")
    private String permissionDeclare;

    /**
     * 状态 1可用，0不可用
     */
    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_PERMISSION_ID = "permission_id";

    public static final String COL_PERMISSION_NAME = "permission_name";

    public static final String COL_PERMISSION_DECLARE = "permission_declare";

    public static final String COL_STATUS = "status";
}